﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace Onshi.POS.AccesoDatos
{
    public abstract class ServicioDatosBase
    {
        #region Atributos

        private SqlConnection conexion;

        #endregion

        #region Popiedades

        internal SqlConnection Conexion
        {
            get { return conexion; }
        }

        #endregion

        #region Constructores

        public ServicioDatosBase()
            : base()
        {
            conexion = new SqlConnection(ConfigurationManager.ConnectionStrings["BaseDatos"].ConnectionString);
        }

        #endregion
    }
}
